package com.ht.medicaltreatment.adapter

import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.ht.medicaltreatment.fragment.LocationFragment

class MainViewPagerAdapter(activity:FragmentActivity) : FragmentStateAdapter(activity){
    private val fragments = arrayOf(LocationFragment())
    override fun getItemCount() = fragments.size
    override fun createFragment(position: Int) = fragments[position]

}
